<link href="<?php echo DOMAIN; ?>/css/my-style.css" rel="stylesheet" type="text/css" />



<?php 
	if($this->success){
	?>
		<div class="notification success" >
			<span class="strong">Thêm thành công.</span>
			<span class="close" title="Dismiss"></span>
		</div>
		<?php
	}
	
	if($this->warning == 1){
		?>
		<div class="notification warning" style="height: 20px;" >
			<span class="strong"><?php echo "<p class='meesage'>Kích thước file vượt quá giới hạn cho phép (10 MB). Xin vui lòng kiểm tra lại!</p>"; ?></span>
			<span class="close" title="Dismiss"></span>
		</div>
		<?php
	}
	
	if($this->warning == 2){
		?>
			<div class="notification warning" style="height: 20px;">
				<span class="strong"><?php echo "<p class='meesage'>Chưa chọn file hoặc định dạng file không hợp lệ. Xin vui lòng kiểm tra lại!</p>"; ?></span>
				<span class="close" title="Dismiss"></span>
			</div>
			<?php
		}
?>

<form method="post" class="form" action="" enctype="multipart/form-data">
      <fieldset>
        <legend>Thêm category</legend>
        
        <p class='row-form'>
          <label class='title-row' for="City">Tên category <span class="required">*</span>:</label>
          <input style="width:250px;" id="channel" type="file" name="file"  />
        </p>
        <p class='row-form'>
        	<input class="blue" style="margin-bottom:-10px;" type="submit" name="submit" value="Thêm">
        </p>
      </fieldset>
</form>